﻿<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>花每刻大数据监控平台</title>
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/echarts.min.js"></script>
	<script type="text/javascript" src="js/china.js"></script>
	<script type="text/javascript" src="js/map.js"></script>
	<script type="text/javascript" src="js/api.js"></script>
	<script type="text/javascript" src="js/js.js"></script>
	<script type="text/javascript" src="js/Bubble.js"></script>
	<link rel="stylesheet" href="css/style.css">
</head>

<body>
	<div class="head clearfix">


		<h1 class="pulll_left">花每刻大数据监控平台</h1>
		<div class="menu menu2 pulll_left">
		</div>

		<div class="time" id="showTime">2018/6/12 17:00:12</div>
		<script>
			var t = null;
			t = setTimeout(time, 1000);//開始运行
			function time() {
				clearTimeout(t);//清除定时器
				dt = new Date();
				var y = dt.getFullYear();
				var mt = dt.getMonth() + 1;
				var day = dt.getDate();
				var h = dt.getHours();//获取时
				var m = dt.getMinutes();//获取分
				var s = dt.getSeconds();//获取秒
				document.getElementById("showTime").innerHTML = y + "/" + mt + "/" + day + " " + h + ":" + m + ":" + s + "";
				t = setTimeout(time, 1000); //设定定时器，循环运行     
			}

		</script>
	</div>
	<div class="mainbox">

		<ul class="clearfix nav1">
			<li style="width: 22%">
				<div class="box">
					<div class="tit">多级市场价格对比</div>
					<div class="boxnav" style="height: 508px">
						<table class="table1" width="100%" height="100%"  style="height: 508px" border="0" cellspacing="0" cellpadding="0">
							<tbody>
								<tr>
									<th>品名</th>
									<th>花每刻</th>
									<th>斗南</th>
									<th>二级市场</th>
								</tr>
								
								<tr>
									<td>444444</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>555555</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>6666</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>777777</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>88</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>99</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>10</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>11</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>12</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>雪山银莲</td>
									<td>18.8</td>
									<td>19.7</td>
									<td>19</td>
								</tr>
								<tr>
									<td>玫瑰</td>
									<td>11</td>
									<td>13</td>
									<td>12</td>
								</tr>
								<tr>
									<td>百合</td>
									<td>8</td>
									<td>8</td>
									<td>9</td>
								</tr>
								<tr>
									<td>婆罗蜜（洛神）</td>
									<td>25.1</td>
									<td>25.6</td>
									<td>24.3</td>
								</tr>
								<tr>
									<td>思念C+</td>
									<td>23.8</td>
									<td>22.6</td>
									<td>25</td>
								</tr>
								<tr>
									<td>1111111</td>
									<td>11</td>
									<td>22</td>
									<td>33</td>
								</tr>
								<tr>
									<td>2222222</td>
									<td>111</td>
									<td>222</td>
									<td>333</td>
								</tr>
								<tr>
									<td>3333333</td>
									<td>1111</td>
									<td>2222</td>
									<td>3333</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				
			</li>
			<li style="width: 56%">

				<div class="box">
					<div class="boxnav mapc" style="height: 550px; position: relative">
						<div class="mapnav">
							<ul>
								<li>
									<div><span>合伙人数量</span>
										<p>40%</p>
									</div>
								</li>
								<li>
									<div><span>总进行咨询量</span>
										<p>12%</p>
									</div>
								</li>
								<li>
									<div><span>合作花店数量</span>
										<p>80</p>
									</div>
								</li>
								<li>
									<div><span>设备投放数量</span>
										<p>124</p>
									</div>
								</li>
								<!-- <li><div><span>数据5</span><p>10%</p></div></li> -->
							</ul>
						</div>
						<div class="map" id="map"></div>

						<script>
							$(".mapbtn a").hover(function () {
								var ind = $(this).index()
								$(".mapnav ul").eq(ind).show().siblings().hide()
							})
						</script>
					</div>
				</div>

			</li>
			<li style="width: 22%">

				<div class="box">
					<div class="tit">2025月度销量</div>
					<div class="boxnav" id="echart3" style="height: 200px;">

					</div>
				</div>
				<div class="box">
					<div class="tit">本月销量TOP10</div>
					<div class="boxnav" style="height: 250px;">
						<div style="height: 200px; float: left; width: 40%; padding: 0 5px;">
							<div class="tit02 text-b">金额</div>
							<div class="huati">
								<ul>
									<li>1.数据分析 <span class="text-s">↑2167</span></li>
									<li>2.云存储 <span class="text-s">↑2167</span></li>
									<li>3.视觉分析 <span class="text-d">↓2167</span></li>
									<li>4.海量词库 <span class="text-d">↓2167</span></li>
									<li>5.云词典 <span class="text-d">↓2167</span></li>
								</ul>
							</div>
						</div>

						<div style="height: 200px; float: left; width: 60%">

							<div class="text-b tit02" style="text-align: center;">数量</div>
							<div class="tagcloud">
								<!-- bo大小 co颜色 -->
								<a class="b01 co01" >大数据</a>
								<a class="b02 co02" >大数据</a>
								<a class="b03 co05" >大数据</a>
								<a class="b04 co02" >大数据</a>
								<a class="b03 co05" >大数据</a>
							</div>
							<script type="text/javascript">
								/*3D标签云*/
								tagcloud({
									selector: ".tagcloud",  //元素选择器
									fontsize: 6,       //基本字体大小, 单位px
									radius: 40,         //滚动半径, 单位px 页面宽度和高度的五分之一
									mspeed: "slow",   //滚动最大速度, 取值: slow, normal(默认), fast
									ispeed: "slow",   //滚动初速度, 取值: slow, normal(默认), fast
									direction: 0,     //初始滚动方向, 取值角度(顺时针360): 0对应top, 90对应left, 135对应right-bottom(默认)...
									keep: false          //鼠标移出组件后是否继续随鼠标滚动, 取值: false, true(默认) 对应 减速至初速度滚动, 随鼠标滚动
								});
							</script>
						</div>
					</div>
				</div>

			</li>
		</ul>

		<div class="box" style="padding: 20px 0;">
			<ul class="clearfix nav2 ">
				<li style="width:50%">
					<div class="tit01">门店下单</div>
					<div class="ftechart" id="echart4"></div>
				</li>
				<li style="width:25%">
					<div class="tit01">鲜花柜销量</div>
					<div class="" style="height:100%; position: relative;">
						<!-- 左侧数据部分 -->
						<div style="position: absolute; left: 0; top: 10px; width: 50%;height: 100%;" class="wancheng">
							<div><span>已售出单数</span>
								<h3>1835<i>单</i></h3>
							</div>
							<!-- <div class="yuan">
								<span>19%</span>
							</div> -->
						</div>
						<!-- 右侧图表部分 - 调整位置并增加高度 -->
						<div style="position: absolute; right: 0; top: 0; width: 50%; height: 85%;" id="myd1"></div>
					</div>
				</li>
				<li style="width:25%">
					<div class="tit01">畅销大类占比</div>

					<div class="" id="">
						<div style="float: left; width: 100%; height: 200px" id="fb04"></div>

					</div>

				</li>
			</ul>
		</div>


	</div>
	<script>
	function autoTableScroll() {
		var table = $('.table1');
		var tbody = table.find('tbody');
		
		// 如果thead不存在，则创建thead并移动标题行
		if(table.find('thead').length === 0) {
			var thead = $('<thead></thead>');
			var headerRow = tbody.find('tr:first-child');
			thead.append(headerRow.clone());
			table.prepend(thead);
			headerRow.remove();
		}
		
		function scrollTable() {
			var dataRows = tbody.find('tr');
			if (dataRows.length < 2) return; // 如果数据行少于2行，不滚动
			
			// 克隆第一个数据行
			var firstDataRow = dataRows.first().clone(true);
			
			// 添加到表格末尾
			tbody.append(firstDataRow);
			
			// 删除第一个数据行（带动画效果）
			dataRows.first().fadeOut(300, function() {
				$(this).remove();
			});
		}
		
		// 每3秒滚动一次
		var scrollInterval = setInterval(scrollTable, 3000);
		
		// 鼠标悬停时暂停滚动
		table.hover(
			function() { clearInterval(scrollInterval); },
			function() { scrollInterval = setInterval(scrollTable, 3000); }
		);
	}

	$(document).ready(function() {
		autoTableScroll();
	});
	</script>
</body>

</html>